package com.byt.common.bean;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * 个人信息
 */
public class PersonalInfo implements Parcelable {

    private long expert_id;//": "38djfn439850gturnbvir",
    private String mobile;//": "13800138000",
    private String real_name;//": "何薇薇",
    private String photo_src;//": "dasdsadsads.jpg",
    private long hospital_id;// 医院id
    private String hospital_name;//": "北京协和医院",
    private long department_id;// 科室id
    private String department_name;//": "产科",
    private long title_id;// 职务id
    private String title_name;//": "主任医师",
    private int status;//认证状态，1未认证，2认证中，3已认证，4认证未通过
    private int consultation_count;//咨询数
    private int invitation_count;// 邀请数
    private int today_invitation_count;//今日邀约数
    private long closed_state;// 文章资讯关闭状态，1：不再出现(一个月内不出现)，2：短期内不想看(7天内不出现)
    private long closed_end_datetime;// 文章资讯关闭状态结束时间，精确到年、月、日、时、分、秒（时间戳）
    private float review_rate;//":98.8, 客户评分
    private double money_amount;//":29389.00,收入结算
    private int patient_count; // 患者总数
    private int questioner_count;//咨询者总数
    private String invitation_code;// 邀请码
    private String bank_name;//":"中国建设银行",银行名称
    private String bank_card;//:"6228554186214498632", 卡号
    private double diagnosis_price;// 私人咨询价格(单次)
    private int free_times;// 咨询免费次数:5,
    private int itcon_enabled;//":1, // 图文咨询开启状态, 0：关闭，1：开启
    private double itcon_price; // 图文咨询价格(单次)
    private int itcon_coupon_enabled;// 图文咨询 咨询折扣券开启状态, 0：关闭，1：开启
    private int itcon_discount;// 图文咨询 咨询折扣券折扣, 1：1折 2：2折 3：3折 4：4折 5：5折 6：6折 7：7折 8：8折 9：9折
    private int sex;// 性别：0：女 1：男
    private String province_code;//": 140000,
    private String city_code;//":141000,
    private String county_code;//": 141100,
    private String province;//": "广东省",
    private String city;//": "深圳市",
    private String county;//": "平山区",
    private String certification_images_src;//医师执业证书地址，多个以逗号隔开(最多2张)
    private String professional_images_src;//职称证书地址
    private String introduction;//个人简介

    public PersonalInfo() {
    }

    protected PersonalInfo(Parcel in) {
        expert_id = in.readLong();
        mobile = in.readString();
        real_name = in.readString();
        photo_src = in.readString();
        hospital_id = in.readLong();
        hospital_name = in.readString();
        department_id = in.readLong();
        department_name = in.readString();
        title_id = in.readLong();
        title_name = in.readString();
        status = in.readInt();
        consultation_count = in.readInt();
        invitation_count = in.readInt();
        today_invitation_count = in.readInt();
        closed_state = in.readLong();
        closed_end_datetime = in.readLong();
        review_rate = in.readFloat();
        money_amount = in.readDouble();
        patient_count = in.readInt();
        questioner_count = in.readInt();
        invitation_code = in.readString();
        bank_name = in.readString();
        bank_card = in.readString();
        diagnosis_price = in.readDouble();
        free_times = in.readInt();
        itcon_enabled = in.readInt();
        itcon_price = in.readDouble();
        itcon_coupon_enabled = in.readInt();
        itcon_discount = in.readInt();
        sex = in.readInt();
        province_code = in.readString();
        city_code = in.readString();
        county_code = in.readString();
        province = in.readString();
        city = in.readString();
        county = in.readString();
        certification_images_src = in.readString();
        professional_images_src = in.readString();
        introduction = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeLong(expert_id);
        dest.writeString(mobile);
        dest.writeString(real_name);
        dest.writeString(photo_src);
        dest.writeLong(hospital_id);
        dest.writeString(hospital_name);
        dest.writeLong(department_id);
        dest.writeString(department_name);
        dest.writeLong(title_id);
        dest.writeString(title_name);
        dest.writeInt(status);
        dest.writeInt(consultation_count);
        dest.writeInt(invitation_count);
        dest.writeInt(today_invitation_count);
        dest.writeLong(closed_state);
        dest.writeLong(closed_end_datetime);
        dest.writeFloat(review_rate);
        dest.writeDouble(money_amount);
        dest.writeInt(patient_count);
        dest.writeInt(questioner_count);
        dest.writeString(invitation_code);
        dest.writeString(bank_name);
        dest.writeString(bank_card);
        dest.writeDouble(diagnosis_price);
        dest.writeInt(free_times);
        dest.writeInt(itcon_enabled);
        dest.writeDouble(itcon_price);
        dest.writeInt(itcon_coupon_enabled);
        dest.writeInt(itcon_discount);
        dest.writeInt(sex);
        dest.writeString(province_code);
        dest.writeString(city_code);
        dest.writeString(county_code);
        dest.writeString(province);
        dest.writeString(city);
        dest.writeString(county);
        dest.writeString(certification_images_src);
        dest.writeString(professional_images_src);
        dest.writeString(introduction);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<PersonalInfo> CREATOR = new Creator<PersonalInfo>() {
        @Override
        public PersonalInfo createFromParcel(Parcel in) {
            return new PersonalInfo(in);
        }

        @Override
        public PersonalInfo[] newArray(int size) {
            return new PersonalInfo[size];
        }
    };

    public long getExpert_id() {
        return expert_id;
    }

    public void setExpert_id(long expert_id) {
        this.expert_id = expert_id;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getReal_name() {
        return real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public String getPhoto_src() {
        return photo_src;
    }

    public void setPhoto_src(String photo_src) {
        this.photo_src = photo_src;
    }

    public long getHospital_id() {
        return hospital_id;
    }

    public void setHospital_id(long hospital_id) {
        this.hospital_id = hospital_id;
    }

    public String getHospital_name() {
        return hospital_name;
    }

    public void setHospital_name(String hospital_name) {
        this.hospital_name = hospital_name;
    }

    public long getDepartment_id() {
        return department_id;
    }

    public void setDepartment_id(long department_id) {
        this.department_id = department_id;
    }

    public String getDepartment_name() {
        return department_name;
    }

    public void setDepartment_name(String department_name) {
        this.department_name = department_name;
    }

    public long getTitle_id() {
        return title_id;
    }

    public void setTitle_id(long title_id) {
        this.title_id = title_id;
    }

    public String getTitle_name() {
        return title_name;
    }

    public void setTitle_name(String title_name) {
        this.title_name = title_name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getConsultation_count() {
        return consultation_count;
    }

    public void setConsultation_count(int consultation_count) {
        this.consultation_count = consultation_count;
    }

    public int getInvitation_count() {
        return invitation_count;
    }

    public void setInvitation_count(int invitation_count) {
        this.invitation_count = invitation_count;
    }

    public int getToday_invitation_count() {
        return today_invitation_count;
    }

    public void setToday_invitation_count(int today_invitation_count) {
        this.today_invitation_count = today_invitation_count;
    }

    public long getClosed_state() {
        return closed_state;
    }

    public void setClosed_state(long closed_state) {
        this.closed_state = closed_state;
    }

    public long getClosed_end_datetime() {
        return closed_end_datetime;
    }

    public void setClosed_end_datetime(long closed_end_datetime) {
        this.closed_end_datetime = closed_end_datetime;
    }

    public float getReview_rate() {
        return review_rate;
    }

    public void setReview_rate(float review_rate) {
        this.review_rate = review_rate;
    }

    public double getMoney_amount() {
        return money_amount;
    }

    public void setMoney_amount(double money_amount) {
        this.money_amount = money_amount;
    }

    public int getPatient_count() {
        return patient_count;
    }

    public void setPatient_count(int patient_count) {
        this.patient_count = patient_count;
    }

    public int getQuestioner_count() {
        return questioner_count;
    }

    public void setQuestioner_count(int questioner_count) {
        this.questioner_count = questioner_count;
    }

    public String getInvitation_code() {
        return invitation_code;
    }

    public void setInvitation_code(String invitation_code) {
        this.invitation_code = invitation_code;
    }

    public String getBank_name() {
        return bank_name;
    }

    public void setBank_name(String bank_name) {
        this.bank_name = bank_name;
    }

    public String getBank_card() {
        return bank_card;
    }

    public void setBank_card(String bank_card) {
        this.bank_card = bank_card;
    }

    public double getDiagnosis_price() {
        return diagnosis_price;
    }

    public void setDiagnosis_price(double diagnosis_price) {
        this.diagnosis_price = diagnosis_price;
    }

    public int getFree_times() {
        return free_times;
    }

    public void setFree_times(int free_times) {
        this.free_times = free_times;
    }

    public int getItcon_enabled() {
        return itcon_enabled;
    }

    public void setItcon_enabled(int itcon_enabled) {
        this.itcon_enabled = itcon_enabled;
    }

    public double getItcon_price() {
        return itcon_price;
    }

    public void setItcon_price(double itcon_price) {
        this.itcon_price = itcon_price;
    }

    public int getItcon_coupon_enabled() {
        return itcon_coupon_enabled;
    }

    public void setItcon_coupon_enabled(int itcon_coupon_enabled) {
        this.itcon_coupon_enabled = itcon_coupon_enabled;
    }

    public int getItcon_discount() {
        return itcon_discount;
    }

    public void setItcon_discount(int itcon_discount) {
        this.itcon_discount = itcon_discount;
    }

    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }

    public String getProvince_code() {
        return province_code;
    }

    public void setProvince_code(String province_code) {
        this.province_code = province_code;
    }

    public String getCity_code() {
        return city_code;
    }

    public void setCity_code(String city_code) {
        this.city_code = city_code;
    }

    public String getCounty_code() {
        return county_code;
    }

    public void setCounty_code(String county_code) {
        this.county_code = county_code;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCounty() {
        return county;
    }

    public void setCounty(String county) {
        this.county = county;
    }

    public String getCertification_images_src() {
        return certification_images_src;
    }

    public void setCertification_images_src(String certification_images_src) {
        this.certification_images_src = certification_images_src;
    }

    public String getProfessional_images_src() {
        return professional_images_src;
    }

    public void setProfessional_images_src(String professional_images_src) {
        this.professional_images_src = professional_images_src;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}